import { createStore } from 'vuex';
import { InitState }  from './types'
import { LoginModule } from './login/login'

const store = createStore<InitState>({
  state() {
    return {
      name: 'whye',
      age: 18
      // height: 3.12
    }
  },
  mutations: {},
  actions: {},
  getters: {},
  modules: {
    LoginModule
  }
})

export default store